package org.example.entity;

import com.thoughtworks.xstream.annotations.XStreamAlias;

import java.io.Serializable;

/**
 * @author haocjia
 */
@XStreamAlias("row")
public class User implements Serializable {

    private static final long serialVersionUID = -6548288132738735742L;

    @XStreamAlias("name")
    private String name;

    @XStreamAlias("age")
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
